Security Descriptors
ACLâ
Powerview find all user that can dcsyncâ
Get-DomainObjectAcl "<dc=dev,dc=testlab,dc=local>" -ResolveGUIDs | ? {
($_.ObjectType -match 'replication-get') -or ($_.ActiveDirectoryRights -match 'GenericAll')
}
Get ACL for a specific objectâ
Get-DomainObjectAcl -Identity <user | SID> [-Verbose] | ? {$_.ActiveDirectoryRights -eq "<GenericAll>"}
List ACL for the current userâ
Invoke-ACLScanner | Where-Object {$_.IdentityReference -eq [System.Security.Principal.WindowsIdentity]::GetCurrent().Name}